<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加电影</title>
    <!-- Favicons -->
  <link href="/static/assets/img/tubiao.png" rel="icon">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.min.css">

</head>
<body>

    <div class="container mt-5">
        <h2 class="mb-4">添加电影</h2>
        <form action="/add_movie" method="POST">
            <div class="form-group">
                <label for="link">链接:</label>
                <input type="text" class="form-control" id="link" name="link" required>
            </div>
            <div class="form-group">
                <label for="photo">照片海报链接:</label>
                <input type="text" class="form-control" id="photo" name="photo" required>
            </div>
            <div class="form-group">
                <label for="cName">中文名:</label>
                <input type="text" class="form-control" id="cName" name="cName" required>
            </div>
            <div class="form-group">
                <label for="introduce">介绍:</label>
                <input type="text" class="form-control" id="introduce" name="introduce" required>
            </div>
            <div class="form-group">
                <label for="grade">评分:</label>
                <input type="number" class="form-control" id="grade" name="grade" min="0" max="10" step="0.1" required>
            </div>
            <div class="form-group">
                <label for="evaluatorsNum">评价人数:</label>
                <input type="number" class="form-control" id="evaluatorsNum" name="evaluatorsNum" min="0" required>
            </div>
            <div class="form-group">
                <label for="ink">ink:</label>
                <input type="text" class="form-control" id="ink" name="ink" required>
            </div>
            <button type="submit" class="btn btn-primary">提交</button>
        </form>
    </div>


  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
